Proxmox Update Error https://enterprise.proxmox.com/debian/pve bullseye InRelease 401 Unauthorized [IP: 144.217.225.162 443]

Are you getting this error in Proxmox while trying to apt update or install Ceph?

apt update
Hit:1 http://security.debian.org bullseye-security InRelease
Err:2 https://enterprise.proxmox.com/debian/pve bullseye InRelease             
  401  Unauthorized [IP: 144.217.225.162 443]
Hit:3 http://ftp.hk.debian.org/debian bullseye InRelease                       
Hit:4 http://ftp.hk.debian.org/debian bullseye-updates InRelease
Hit:5 http://download.proxmox.com/debian/ceph-pacific bullseye InRelease
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bullseye/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

 

This error is caused by not having an enterprise Proxmox subscription/license. However, Proxmox can use Free/Testing/Non-Enterprise packages for Ceph.

For older versions of Proxmox like 7.1

This is normally caused by the fact that you don't have an Enterprise Subscription, either update your subscription or comment the Enterprise repo out in /etc/apt/sources.list.d/pve-enterprise.list

Alternatively you can simply just delete /etc/apt/sources.list.d/pve-enterprise.list and you'll be ok.

Here is how /etc/apt/sources.list should look (assuming you are using Bullseye):

deb http://ftp.ca.debian.org/debian bullseye main contrib

deb http://ftp.ca.debian.org/debian bullseye-updates main contrib

# security updates
deb http://security.debian.org bullseye-security main contrib

 

Here is how /etc/apt/sources.list.d/ceph.list should look:

deb http://download.proxmox.com/debian/ceph-pacific bullseye main


 

For newer versions of Proxmox (eg. 8+)

You may also need to enable the no-subscription repo:

https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_enterprise_repo

sources.list for version 8 of Proxmox with no-subscription repo:

deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-updates main contrib

# Proxmox VE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

# security updates
deb http://security.debian.org/debian-security bookworm-security main contrib

Also edit /etc/apt/sources.list.d/ceph.list

deb http://download.proxmox.com/debian/ceph-reef bookworm no-subscription

 



 


Tags:

proxmox, update, https, enterprise, debian, pve, bullseye, inrelease, unauthorized, ip, subscription, repo, etc, apt, sources, http, org, err, ftp, hk, updates, download, ceph, pacific, lists, fetch, dists, repository, updating, securely, disabled, default, manpage, creation, user, configuration,

Latest Articles

  • How to combine .txt ACLs without breaking things
  • How to ping all of Googlebot's IPs script
  • 'virtio0' uses a qcow2 feature which is not supported by this qemu version: QCOW version 3
  • Linux bash script to get the IP of a list of hostnames
  • How To Use Camera Webcam in Docker for OBS Studio etc...
  • Computer Server Won't Post Boot Or Enter BIOS Setup After Installing RAID SAS or GPU Card etc..
  • How To Test PHP Scripts from CLI with GET variables/query string
  • apt-cache how to see all available versions of a package in Debian Ubuntu Mint
  • Virtualbox VBox Guest-utils drag and drop files stops working with Windows VMs
  • How To Remove Ubuntu Netplan and Go Back to /etc/network/interfaces
  • How To Force Flash an AMD Instinct GPU To Another Model Using Debian Ubuntu Mint Linux
  • How To compile ollama from source to use unsupported AMD GPU with rocm in Ubuntu Debian
  • QEMU KVM Virtio GPU Windows Cannot Select 1080P
  • Linux Gnome Desktop Ubuntu Mint Debian Gets Slower After Weeks
  • Firefox How to Save Full Page As Screenshot/PDF
  • Nvidia Datacenter Driver Tesla Slow nvidia-smi response and high utilization with 0 usage
  • ffmpeg how to normalize / increase the volume of your audio
  • kdenlive audio blips pops cracks artifacts solution fix
  • haproxy / nginx certbot SSL issues
  • nginx how to see the real IP when behind a CDN